package com.atguigu.yygh.cmn.service;

import com.atguigu.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 组织架构表 服务类
 * </p>
 *
 * @author xueyoupeng
 * @since 2023-06-06
 */
public interface DictService extends IService<Dict> {


    List<Dict> findChildData(Long id);

    void importData(MultipartFile file);

    void exportData(HttpServletResponse response);

    void exportDataByIds(List<Long> ids,HttpServletResponse response);

    String getName(String value, String dictCode);

    List<Dict> findListByDictCode(String dictCode);
}
